<template>
	<view class="home">
		<!-- 头部橘色调部分 -->
		<Header/>
		<!-- 广告占位符和banner部分 -->
		<Banner/>
		<!-- banner图下的小喇叭部分  上下banner图 -->
		<BannerColumn/>
		<!-- 广告-宠粉节部分 加  内容区、爆款秒杀和新品专区-->
		<Ads/>
		
		
	</view>
</template>

<script>
	import Header from "./components/header.vue";
	import Banner from "./components/banner.vue";
	import BannerColumn from "./components/bannerColumn.vue";
	import Ads from "./components/ads.vue";
	export default {
		components:{Header,Banner,BannerColumn,Ads},
		data() {
			return {
				bannerImgs:[]
			}
		},
		created(){
			uni.request({
				url:"/api/home/bannerImage",
				method:"get",
				success:(res)=>{
					if(res.statusCode===200){
						// this.bannerImgs = res.data
						// console.log(this.bannerImgs)
					}
				}
			})
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style>
	

	

	
	
	
</style>
